package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: ListBean
 * @Description: 充值、提现、购买等记录bean
 * @Author: ljp
 * @CreateDate: 2018/11/7 15:55
 * @Version: 1.0
 */
public class RecordListBean {

    /**
     * code : 200
     * msg : 成功
     * page : {"pageNo":1,"pageSize":30,"count":2,"list":[{"isNewRecord":true,"createDate":"2018-11-07 14:08:58","gold":500},{"isNewRecord":true,"createDate":"2018-10-30 15:09:59","gold":500,"type":"0"}],"maxResults":30,"firstResult":0}
     */

    private int code;
    private String msg;
    private PageBean page;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class PageBean {
        /**
         * pageNo : 1
         * pageSize : 30
         * count : 2
         * list : [{"isNewRecord":true,"createDate":"2018-11-07 14:08:58","gold":500},{"isNewRecord":true,"createDate":"2018-10-30 15:09:59","gold":500,"type":"0"}]
         * maxResults : 30
         * firstResult : 0
         */

        private int pageNo;
        private int pageSize;
        private int count;
        private int maxResults;
        private int firstResult;
        private List<ListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * isNewRecord : true
             * createDate : 2018-11-07 14:08:58
             * gold : 500
             * type : 0
             */

            private boolean isNewRecord;
            private String createDate;
            private int gold;//金币数量
            private String type;// 充值  0成功  1失败

            private int rmb;//提现人民币
            private int status;// // 状态 1提申请 2处理核实 3成功 4失败

            private String remarks;//消费记录详情、收入记录获取途径

            private int state;//购买会员状态


            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getRemarks() {
                return remarks;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public int getRmb() {
                return rmb;
            }

            public void setRmb(int rmb) {
                this.rmb = rmb;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public int getGold() {
                return gold/10;
            }

            public void setGold(int gold) {
                this.gold = gold;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            @Override
            public String toString() {
                return "ListBean{" +
                        "isNewRecord=" + isNewRecord +
                        ", createDate='" + createDate + '\'' +
                        ", gold=" + gold +
                        ", type='" + type + '\'' +
                        ", rmb=" + rmb +
                        ", status=" + status +
                        ", remarks='" + remarks + '\'' +
                        '}';
            }
        }
    }
}
